<#include "/default/layout/account.htm"/> 
<@layout>

<style>
	.fa-2x {
		font-size: 1.3em;
	}
</style>
	
		<div class="block-center mt-xl wd-xl">
			<div class="panel panel-dark panel-flat">
				<div class="panel-body" id="loginPage">
					<p class="text-center pv">使用手机号码和密码登录</p>
					<form method="POST" action="${ctx}/login?redirect=${RequestParameters.redirect!}">
						<div class="form-group has-feedback">
							<input type="text" placeholder="邮箱地址或手机号" name="loginName"
								class="form-control" data-parsley-error-message="请输入邮箱地址或手机号"
								required="required" value="${loginName!}" /> 
							<span class="fa fa-envelope form-control-feedback text-muted"></span>
						</div>
						<div class="form-group has-feedback">
							<input type="password" placeholder="密码" name="loginPwd"
								class="form-control" data-parsley-error-message="请输入密码"	required="required" />
							<span class="fa fa-lock form-control-feedback text-muted"></span>
						</div>
						<div class="clearfix">
							<div class="pull-right">
								<a	href="${ctx}/user/forgotpassword?redirect=${RequestParameters.redirect!}"
									class="text-muted">忘记密码？</a>
							</div>
						</div>
						<p class="text-center" style="color: red" >${message!}</p>
						<button type="submit" class="btn btn-block btn-primary mt-lg">登录</button>
					</form>
					<p></p>
					<a href="${ctx}/user/register?redirect=${RequestParameters.redirect!}" class="btn btn-block btn-default">现在就注册</a>
					<!-- 
					<p></p>
					<div class="text-center">
						<a href="javascript:void(0);"> <span class="fa-stack fa-2x mr"><i class="fa fa-qq fa-stack-1x"></i></span></a> 
						<a href="javascript:void(0);"> <span class="fa-stack fa-2x"><i class="fa fa-weibo fa-stack-1x"></i></span></a> 
						<a href="javascript:void(0);"> <span class="fa-stack fa-2x ml"> <i class="fa fa-wechat fa-stack-1x"></i></span></a>
					</div>
					 -->
				</div>
			</div>
			<div class="p-lg text-center">
			</div>
		</div>
	
</@layout>